{% extends "base.html" %}
{% block title %}
站内消息 - 查看消息
{% endblock %}
{% block ext_style %}
#layoutmid {margin-left: 70px; min-height: 300px; margin-right: 70px;}#layoutright { width: 60px;}
#layoutleft {width: 60px;}
{% endblock %}

{% block ext_js_head %}
{% endblock %}

{% block breadcrumb %}
<span><a href="/">首页</a></span>&gt;
<span><a href="/space/{{user.id}}/">个人中心</a></span>&gt;
{% if d or s %}
<span><a href="/msgbox/outbox/">已寄出的信件</a></span>&gt;
<span id="breadcurrent">察看消息</span>
{% endif %}
{% if r %}
<span><a href="/msgbox/inbox/">我的信箱</a></span>&gt;
<span id="breadcurrent">察看消息</span>
{% endif %}
{% endblock %}

{% block layoutmid_content %}
		<div id="content">
			<div id="content_list">

<div class="space_assets">
	<form name="msform" id="msform" action="" method="post">
	<input id="action" name="action" value="" type="hidden">
<ul class="msgtitle">
{% if d or s %}
<li>
	<div>收信人：</div>
	{{msg.rec_user.username}}
</li>
{% endif %}
{% if r %}
<li>
	<div>发信人：</div>
	{{msg.send_user.username}}
</li>
{% endif %}
<li>
	<div>主题：</div>
	{{msg.title}}
</li>
<li>
	<div>时间：</div>
	{{msg.modification_date}}
</li>
</ul>
<div class="msgbody">
{{msg.content}}
</div>
<div class="submit">
{% if r %}
	<a class="mButton" href="/msgbox/reply_message/{{msg.id}}/">回复</a>
		&nbsp; &nbsp;
{% endif %}
	<a class="mButton" href="/msgbox/delete_message/{{msg.id}}/">删除</a>
	&nbsp; &nbsp;
 <a class="mButton" href="javascript:history.back()">返回前一页</a>
</div>
	</form>
</div>

			</div>
		</div>
{% endblock %}